//
//  TabBarItem.h
//  LotteryClient
//
//  Created by Suny on 14-7-5.
//  Copyright (c) 2014年 CTTC. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kTabBarItemTitleFontSize       9

#define kTabBarItemImgTitleInterval    0.5

#define kTabBarItemBadgeViewTPadding   3
#define kTabBarItemBadgeViewRPadding   10
@class BadgeView;

@interface TabBarItem : UIButton

@property (nonatomic, strong) UIImage      *image;
@property (nonatomic, strong) UIImage      *highlightedImage;
@property (nonatomic, strong) UIImage      *selectedImage;
@property (nonatomic, strong) BadgeView    *badgeView;
@property (nonatomic, strong) NSString     *title;
@property (nonatomic, strong) UIColor      *titleColor;
@property (nonatomic, strong) UIColor      *highlightedTitleColor;
@property (nonatomic, strong) UIColor      *selectedTitleColor;

@property (nonatomic, strong) UIImage      *badgeImage;

@property (nonatomic, assign) BOOL          showTitle;
@property (nonatomic, assign) BOOL          showBadgeIndicator;

@property(nonatomic) BOOL bigItemCenter;

- (void)showBadge;
- (void)hideBadge;

@end
